package cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.commodity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 商品 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class CommodityBaseVO {

    @Schema(description = "商品类型", example = "1")
    private Long type;

    @Schema(description = "商品名称", example = "张三")
    private String name;

    @Schema(description = "广告图")
    private String imageurls;

    @Schema(description = "商品所属分类", example = "17436")
    private Long categoryId;

    @Schema(description = "详情")
    private String content;

    @Schema(description = "积分")
    private Long point;

    @Schema(description = "库存")
    private Long inventory;

    @Schema(description = "出售数量")
    private Long sellNum;

    @Schema(description = "状态 ")
    private Long status;

    @Schema(description = "时长 ")
    private Long duration;

    @Schema(description = "店铺id ")
    private Long storeId;

    @Schema(description = "其他信息")
    private String others;

}
